public class text3_7 {
   public static void main (String args[]) {
      int i,n,sum=0;
      for(i=1;sum<8888;i++) {
         sum=sum+i;
      }
      i=i-1;
      System.out.println(i);
   }
}
